/*----------------------------------------------------------------------------
 *  _____       ______  _____
 * |_   _|     |  ____|/ ____|
 *   | |  _ __ | |__  | (___    Institute of Embedded Systems
 *   | | | '_ \|  __|  \___ \   Zuercher Hochschule fuer Angewandte
 *  _| |_| | | | |____ ____) |  Wissenschaften
 * |_____|_| |_|______|_____/   8401 Winterthur  Switzerland
 *---------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------
 * OSA High Capacity PTP Platform
 *----------------------------------------------------------------------------
 *
 * $LastChangedDate: 2013-11-12 17:17:24 +0100 (Di, 12 Nov 2013) $
 * $Rev: 177 $
 * $Author: bacr $
 *---------------------------------------------------------------------------*/
/** @file slavemgm_hal.c
 *
 *  @brief setup slave table and slave lookup table
 */

#include <string.h>
#include <stdio.h>
#include <stdlib.h>

#include "hal/platform_defines.h"
#include "hal/register.h"
#include "hal/avalon_hal.h"
#include "hal/enet_hal.h"
#include "hal/sysconf_hal.h"
#include "hal/slavemgm_hal.h"

#include "hcpp/ptp2_log.h"
#include "hcpp/ptp2_node_table.h"

/** @brief  set an entry in slave table
 *
 *
 *
 * @param   *slave
 */
void
slavemgm_hal_slave_table_set_entry(ptp2_slave_t *slave)
{

}


/** @brief  cleanup one entry in slave table
 *
 * @param   pos offset of entry to cleanup
 *
 */
void
slavemgm_hal_slave_table_clean_entry(uint16 pos)
{

}


/** @brief  cleanup the whole slave table
 *
 *
 */
void
slavemgm_hal_slave_table_cleanup(void)
{

}


/** @brief  set all entries in slave lookuptable
 *
 * @param   *slave
 */
void
slavemgm_hal_lut_set_lut(ptp2_lut_entry_t lut[], uint16_t idx_sort_lut[], uint16_t size)
{

}


/** @brief  cleanup slave lookuptable
 */
void
slavemgm_hal_lut_cleanup(void)
{

}

/** @brief  get Slave Lookuptable
 *
 * @return Number of active Lut (0x00 or 0x01)
 */
uint32_t
slavemgm_hal_get_lut_no(void)
{
    return 0;
}

